This patch adds a quick check to 'xm restore' that checks the
authoremellor@ewan <emellor@ewan>
Tue, 27 Sep 2005 14:10:38 +0000 (15:10 +0100)
committeremellor@ewan <emellor@ewan>
Tue, 27 Sep 2005 14:10:38 +0000 (15:10 +0100)
commit0fae7b55e59313fe8f85b870958c8b9308922195
treee3f3ebdad85a8467f7d16db774d9845358895953
parent9427933f18c5d14ecb939c23627bea536e90e07c
This patch adds a quick check to 'xm restore' that checks the
existence and readability of the file given.

This fixes the issue detected in xm-tests 03_restore_badparm_neg and
04_restore_badfilename_neg.

Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/main.py